@import "@styles/theme.scss";

.address-add {
  position: relative;
  overflow: hidden;
  font-size: 28px;
}

.address-add__footer {
  position: fixed;
  border: none;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 70px;
  border-radius: 50px;
  margin-left: 5%;
  margin-bottom: 10px;
  text-align: center;
  font-size: $font-size-base;
  font-weight: 600;
  color: #f4f4f4;
  letter-spacing: 5px;
  background: $color-brand-dark;
}

.region__select {
  width: 100%;
  height: 600px;
  background: #ffffff;
  position: fixed;
  z-index: 10;
  left: 0;
  bottom: 0;

  &-hd {
    height: 50px;
    border-bottom: 1px solid #f4f4f4;
    padding: 20px 10px 10px 30px;

    &-selected {
      float: left;
      height: 60px;
      display: flex;
    }

    &-item {
      max-width: 140px;
      margin-right: 30px;
      text-align: left;
      line-height: 60px;
      height: 100%;
      color: #333;
      font-size: 28px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;

      &-disabled {
        color: #999;
      }

      &-selected {
        color: #b4282d;
      }
    }

    &-done {
      float: right;
      height: 60px;
      width: 60px;
      border: none;
      background: #fff;
      line-height: 60px;
      text-align: center;
      color: #333;
      font-size: 28px;
    }

    &-disabled {
      color: #999;
    }
  }

  &-bd {
    height: 492px;
    width: 100%;
    padding: 0 30px;

    &-item {
      width: 100%;
      height: 80px;
      line-height: 80px;
      text-align: left;
      color: #333;
      font-size: 28px;
    }

    &-selected {
      color: #b4282d;
    }
  }

  &-list {
    height: 492px;
  }
}

.bg-mask {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
}
